<?php
class PlusAction extends CommonAction{
	
	public function index(){
	}
	
	public function vote_list(){
		$data['breadcrumbs'] = array(
		     array('text'=>'后台首页','href'=>'#','separator'=>'>>',),
		     array('text'=>'插件系统','href'=>'#','separator'=>'>>',),
		     array('text'=>'投票列表','href'=>U('Plus/vote_list'),'separator'=>'',),
		);
		$data['action'] = U('Plus/vote_list?action=submit');
		$this->assign('data',$data);	
		$this->display();
	}
	
	public function vote_add(){
		$data['breadcrumbs'] = array(
		     array('text'=>'后台首页','href'=>'#','separator'=>'>>',),
		     array('text'=>'插件系统','href'=>'#','separator'=>'>>',),
		     array('text'=>'投票添加','href'=>U('Plus/vote_add'),'separator'=>'',),
		);
		$data['action'] = U('Plus/vote_add?action=submit');
		$this->assign('data',$data);	
		$this->display('vote_edit');
	}
	
	public function vote_edit(){
		$data['breadcrumbs'] = array(
		     array('text'=>'后台首页','href'=>'#','separator'=>'>>',),
		     array('text'=>'插件系统','href'=>'#','separator'=>'>>',),
		     array('text'=>'投票修改','href'=>U('Plus/vote_edit'),'separator'=>'',),
		);
		$data['action'] = U('Plus/vote_edit?action=submit');
		$this->assign('data',$data);	
		$this->display();
	}
	
	public function ads_list(){
		$data['breadcrumbs'] = array(
		     array('text'=>'后台首页','href'=>'#','separator'=>'>>',),
		     array('text'=>'插件系统','href'=>'#','separator'=>'>>',),
		     array('text'=>'广告列表','href'=>U('Plus/ads_list'),'separator'=>'',),
		);
		$data['action'] = U('Plus/ads_list?action=submit');
		$this->assign('data',$data);	
		$this->display();
	}
	
	public function ads_add(){
		$data['breadcrumbs'] = array(
		     array('text'=>'后台首页','href'=>'#','separator'=>'>>',),
		     array('text'=>'插件系统','href'=>'#','separator'=>'>>',),
		     array('text'=>'广告添加','href'=>U('Plus/ads_add'),'separator'=>'',),
		);
		$data['action'] = U('Plus/ads_add?action=submit');
		$this->assign('data',$data);	
		$this->display('ads_edit');
	}
	
	public function ads_edit(){
		$data['breadcrumbs'] = array(
		     array('text'=>'后台首页','href'=>'#','separator'=>'>>',),
		     array('text'=>'插件系统','href'=>'#','separator'=>'>>',),
		     array('text'=>'广告修改','href'=>U('Plus/ads_edit'),'separator'=>'',),
		);
		$data['action'] = U('Plus/ads_edit?action=submit');
		$this->assign('data',$data);	
		$this->display();
	}
	
	public function guestbook(){
		$data['breadcrumbs'] = array(
		     array('text'=>'后台首页','href'=>'#','separator'=>'>>',),
		     array('text'=>'插件系统','href'=>'#','separator'=>'>>',),
		     array('text'=>'留言管理','href'=>U('Plus/guestbook'),'separator'=>'',),
		);
		$data['action'] = U('Plus/guestbook?action=submit');
		$this->assign('data',$data);	
		$this->display();
	}
	
	public function reguest(){
		$data['breadcrumbs'] = array(
		     array('text'=>'后台首页','href'=>'#','separator'=>'>>',),
		     array('text'=>'插件系统','href'=>'#','separator'=>'>>',),
		     array('text'=>'留言回复','href'=>U('Plus/reguest'),'separator'=>'',),
		);
		$data['action'] = U('Plus/reguest?action=submit');
		$this->assign('data',$data);	
		$this->display();
	}
}
?>